f13ab45500d982502b743dfbf49e8376ff782c01,inspections/impl/com/intellij/codeInspection/deprecation/DeprecationInspection.java,DeprecationInspection,checkMethodOverridesDeprecated,#MethodSignatureBackedByPsiMethod#List#InspectionManager#,114

Before Change


      if (superMethod.isDeprecated()) {
        String description = JavaErrorMessages.message("overrides.deprecated.method",
                                                       HighlightMessageUtil.getSymbolName(aClass, PsiSubstitutor.EMPTY));
        return manager.createProblemDescriptor(methodName, description, (LocalQuickFix [])null, ProblemHighlightType.LIKE_DEPRECATED);
      }
    }
    return null;

After Change


      if (superMethod.isDeprecated()) {
        String description = JavaErrorMessages.message("overrides.deprecated.method",
                                                       HighlightMessageUtil.getSymbolName(aClass, PsiSubstitutor.EMPTY));
        holder.registerProblem(methodName, description, ProblemHighlightType.LIKE_DEPRECATED, (LocalQuickFix [])null);
      }
    }
  }